home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 016a / ems10.zip / EMS.DOC next >
Text File  |  1992-02-22  |  11KB  |  284 lines

  1.                                 EMS 1.0
  2.               Batch file utility for detecting EMS memory
  3.  
  4.                                   by
  5.                                Bob Eyer
  6.                              [73230,2620]
  7.  
  8.  
  9.                              Feb 22, 1992
  10.  
  11.  
  12.      Syntax
  13.      ------
  14.  
  15.      EMS
  16.  
  17.      Returns:
  18.  
  19.      - DOS error level 1 if no EMS is present, displaying a message
  20.        to that effect on the screen.
  21.  
  22.      - DOS error level 0 if EMS is detected.
  23.  
  24.  
  25.      Discussion
  26.      ----------
  27.      I wrote this little utility to avoid wasting time trying  to  make
  28.      useless  memory  adjustments  to Desqview tasks, resulting from my
  29.      forgetting that I set up DV to run only under EMS.  What typically
  30.      happens in the DV environment, is that you log in, select a  task,
  31.      and  then  DV returns a message indicating inadequate memory.  So,
  32.      you spend maybe 30 minutes fiddling with memory  reallocation  and
  33.      then,  suddenly,  it  hits  you: You should activate conversion of
  34.      extended to expanded memory in your CONFIG.SYS  file!   30  wasted
  35.      minutes!
  36.  
  37.      This problem is not important for regular users of Desqview, since
  38.      the  regular user will probably always keep his machine configured
  39.      to make EMS available.  But it is liable to  victimise  occasional
  40.      users  of  Desqview,  who  prefer  to  deactivate EMS entirely for
  41.      normal computer  operations  (because  of  the  sacrifice  in  CPU
  42.      speed which EMS conversions involve).
  43.  
  44.      EMS.EXE solves this  problem.   As  illustration,  I  suggest  the
  45.      following batch file, called DV.BAT, to run XDV:
  46.  
  47.      @echo off
  48.      ems
  49.      if errorlevel 1 goto exit
  50.      c:
  51.      cd\dv
  52.      xdv
  53.      :exit
  54.  
  55.      Since EMS returns an error level of 1 if EMS is not detected, this
  56.      batch  file  simply  returns  the  user  back to DOS.  En passant,
  57.      EMS.EXE will print the message
  58.  
  59.      --> Error: No EMS memory detected
  60.  
  61.      to the screen.  On the other hand,  if  EMS.EXE  does  detect  EMS
  62.      memory, the batch file simply proceeds to load Desqview.
  63.  
  64.      There are obviously other uses for EMS.EXE, as well.
  65.  
  66.  
  67.  
  68.                         ** SHAREWARE NOTICE **
  69.  
  70.      This program is shareware: if you think it's a worthy addition  to
  71.      your  personal  software,  you  should  make a contribution to the
  72.      author.  In return for your  contribution  you  will  receive  the
  73.      items mentioned in the list below, including any current update of
  74.      the program described above.
  75.  
  76.      Simply purchase a money order from your bank in the amount of  $20
  77.      US made out to Bob Eyer and send with your return address to:
  78.  
  79.        Bob Eyer
  80.        1100 Bloor Street West
  81.        Suite 16
  82.        Toronto, Canada M6H 1M8
  83.  
  84.      Please mention in your accompanying note whether you wish 5.25" or
  85.      3.5" diskette format,  and  state  the  name  in  which  you  wish
  86.      registration-only  utilities  to  be  registered.
  87.  
  88.      Do not send cheques.
  89.  
  90.      Enquiries may be placed by writing  directly  to  the  author  via
  91.      Easyplex at Compuserve [73230,2620].
  92.  
  93.      Warranty and Disclaimer:
  94.      -----------------------
  95.      The  author,  Bob  Eyer,  guarantees the physical integrity of the
  96.      diskette covering the points  above,  and  will  replace  free  of
  97.      charge, if it is received defective.  However, in no case will the
  98.      author  be  responsible for any damages due to loss of data or any
  99.      other reason.  In no event does the  author's  liability  for  any
  100.      damages  exceed  the  price  paid  for  the  buyer's order of this
  101.      software, regardless of the form of the claim.  The  person  using
  102.      the  software  bears all risk as to the quality and performance of
  103.      the software.
  104.  
  105.     DESCRIPTION OF PROGRAMS YOU WILL RECEIVE FREE WITH YOUR REGISTRATION
  106.           ********************************************************
  107.  
  108.      Many  of the programs in the following list have not been publicly
  109.      posted, and those which have been posted previously  are  unlikely
  110.      to be posted in new updates, except in rare cases.
  111.  
  112.      Certain  programs  are  registered-only, which means that the user
  113.      must not post copies on bulletin boards.  Some of these have  also
  114.      never  been  posted  at  all, and are available ONLY to registered
  115.      users.
  116.  
  117.      Versions new since last public post are indicated with a  +  sign.
  118.      Entries  marked by double asterisk have never been posted, and are
  119.      available only to registered users.
  120.  
  121.      Nearly   all  file-processing  programs  take  full  advantage  of
  122.      wildcard logic, including DOS  shortcuts,  keeping  keystrokes  to
  123.      absolute minimum.
  124.  
  125.      Total  size  in  compressed form for all of below, including docs:
  126.      about 320K.
  127.  
  128.   ** MG
  129.      --
  130.      Moving average ASCII graphing program.   Especially  designed  for
  131.      obtaining  graphic  updates  on stock-market activity in practical
  132.      trading environments, in which it is essential that the user get a
  133.      quick  graph  immediately,  with  points  of  the  graph  directly
  134.      associated  with  the  numerical  and other text information which
  135.      these points represent (a feat  impractical  in  Lotus  graphics).
  136.      Designed to be used with SETV below.
  137.  
  138.    + SPC
  139.      ---
  140.      Multidrive columnar drive report, with fairly complete description
  141.      of  your  machine  including  communications,   important   chips,
  142.      printer,   BIOS,   memory,   processor   and   coprocessor  speed,
  143.      multitasking, networking, and so on, all in one  single  snapshot.
  144.      New   version   doubles   the   amount   of  information  on  each
  145.      communications port and displays the information in columnar  mode
  146.      above  the drive report, adds an environment usage readout as well
  147.      as a new P parameter to pause the PRINT multiplexer,  when  it  is
  148.      used  to  feed  data  to  your  printer.  (DOS PRINT lacks a pause
  149.      command).
  150.  
  151.      SETV
  152.      ----
  153.      Sets seven VGA text video modes.  Enables Multisync or VGA user to
  154.      make  use  of seven major video text modes at DOS level, including
  155.      132 column modes.
  156.  
  157.      AL
  158.      --
  159.      Best  and  most flexible TSR alarm program with clock option.  Has
  160.      time-locking and a full range of options.  7K of memory.
  161.  
  162.      CA
  163.      --
  164.      Four-function fixed point TSR calculator with  formatted  displays
  165.      and  scientific  notation  for  direct  paste  to  text.  Also has
  166.      accumulator.  Four mode groups.  About 13K of memory.
  167.  
  168.    + CAF
  169.      ---
  170.      TSR floating point calculator with formatted displays  and  direct
  171.      paste  to  text.   18  functions,  and an accumulation area.  Five
  172.      types of modes.  Number formatting.  CAF is the most sophisticated
  173.      calculator  in  the  business,  for  its  size.   27K  of  memory.
  174.  
  175.      PAUZ
  176.      ----
  177.      Replacement for DOS PAUSE, allows specification of seconds to wait
  178.      or target [<=] time,  as  well  as  what  key  to  use  for  pause
  179.      interruption.  User triggering of error levels 1 to 9.
  180.  
  181.    + MV
  182.      --
  183.      Fast  file  mover.   Preserves  date/time/attribute  stamp for all
  184.      moves.  Allows moving Read Only and  Hidden  files,  source  files
  185.      opened  in  SHAREd  mode  for  network  users.   Wildcards.   None
  186.      faster or safer.
  187.  
  188.   ** SPLT
  189.      ----
  190.      ASCII file splitter which, for the first time, offers the  ability
  191.      to  prevent  the  split  from resulting in split messages or other
  192.      defined  text  blocks.   Works  with  DIV  and  REV,  below.
  193.  
  194.   ** OTL
  195.      ---
  196.      Makes it  possible  to  apply  any  set  of  operations,  say,  as
  197.      specified in a batch file, to every file in an ASCII list, without
  198.      having to specify the path information for each file.  For Sysops.
  199.  
  200.   ** KALL
  201.      ----
  202.      For users of DOS 3.0-3.2 who would like batch  file  control  like
  203.      that   offered   in   the  more  advanced  DOS  versions.   Allows
  204.      redirection of batch file output, unlike DOS 4/5 CALL.
  205.  
  206.   ** SS
  207.      --
  208.      Secure shell, protects  your  system  from  keyboard  redefinition
  209.      resulting from ANSI codes read in remote message areas.  Maintains
  210.      default DOS colour scheme, but requires use of NANSI.SYS.
  211.  
  212.      DIV
  213.      ---
  214.      Generalisation  of  FGREP-type programs to include blocks of text.
  215.      A single string defines a block in most kinds of  blockable  text.
  216.      DIV  handles  almost  any  kind.  Returns blocks containing one or
  217.      more of up to 64 different strings from large ASCII files.  Useful
  218.      in extracting messages or extended file descriptions containing  a
  219.      range of strings without manual cut and paste.  Can prepare a file
  220.      containing   every   block   EXCEPT   the   ones   selection,  and
  221.      simultaneously.   See REV in short list below.
  222.  
  223.      COMB
  224.      ----
  225.      Sorts and combines wildcard text files  in  specified  order  into
  226.      first  file  found  in  that order.  Primarily for eliminating the
  227.      tedium and error involved in accumulating message files  into  one
  228.      file  for  easy  reference.  Essential for systematic followers of
  229.      international correspondence forums.
  230.  
  231.      ADD
  232.      ---
  233.      Adds very lengthy columns of numbers found in ASCII text, such  as
  234.      byte  counts  in BBS listings without manual data entry.  (Capable
  235.      of handling the addition of up to 1 billion numbers in one pass).
  236.  
  237.      CITM
  238.      ----
  239.      Counts   similar   items  in  formatted  ASCII  lists,  where  the
  240.      similarity is based on a fixed string field found at one  position
  241.      in  each  line of text, and all lines have been previously sorted,
  242.      based on  the  contents  of  that  string  field.   Perfect  as  a
  243.      companion   utility   for  Baker's  QSORT.
  244.  
  245.    + FVER
  246.      ----
  247.      Compares  a  file  list,  like  a BBS listing, to the actual files
  248.      found anywhere in the BBS's download path.  Operates  in  FAST  or
  249.      SLOW mode, depending on your safety requirements.  Can be operated
  250.      remotely through a BBS door.
  251.  
  252.    + MVA
  253.      ---
  254.      Moves  files,  even if set to read only status, from anywhere in a
  255.      specified download path to a given location.  Operates directly on
  256.      ASCII lists, like directories or BBS listings.   Can  be  operated
  257.      remotely through a BBS door.
  258.  
  259.      RNF
  260.      ---
  261.      Minimises keystrokes and keystroke error on  renaming  files  with
  262.      date  or  time  info  or special flags.
  263.  
  264.      plus:
  265.      ----
  266.      ELIM  - Advanced replacement for DEL.
  267.      LCNT  - Very fast linecounter; formatted output.
  268.      ESRT  - Element sorter.  User specified delimiter.
  269.    + TYME  - Program execution timer.
  270.      CHG   - Attribute file/directory/date/time  file  changer/reader.
  271.    + CBRO  - Compuserve Browse converter.  Old/new  formats.
  272.      REV   - Reverses order of blocks of text (messages, etc).
  273.      DTR   - Toggles modem DTR line.
  274.      RTS   - Toggles RTS line.
  275.   ** CFIX  - Fix cursor to normal, block or off.
  276.   ** EL    - Converts number to error level, for batch files.
  277.      WD    - Gives wildcard support to any program.
  278.      SWP   - Fast single-level sweep program.
  279.      TSTF  - Floppy disk status tester.
  280.  
  281.  
  282.      ----------------------
  283.      End of documentation
  284.